﻿<Window x:Class="MsiCustomize.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:MsiCustomize"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Window.CommandBindings>
        <CommandBinding Command="New" Executed="FileNew_Exec" />
        <CommandBinding Command="Open" Executed="FileOpen_Exec" />
        <CommandBinding Command="Save" Executed="FileSave_Exec" />
        <CommandBinding Command="SaveAs" Executed="FileSaveAs_Exec" />
        <CommandBinding Command="SystemCommands.CloseWindowCommand" Executed="FileExit_Exec" />
        <CommandBinding Command="Help" Executed="HelpAbout_Exec" />
    </Window.CommandBindings>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20"/>
            <RowDefinition Height="20*"/>
            <RowDefinition Height="20"/>
        </Grid.RowDefinitions>
        <local:StandardMenu Grid.Row="0" />
        <TabControl HorizontalContentAlignment="Stretch" Grid.Row="1" TabStripPlacement="Left" x:Name="ProjectTabComtrols" IsEnabled="False">
            <TabItem Header="Properties" Background="LightGray">
                <local:MsiProperties x:Name="TabProperties"/>
            </TabItem>
            <TabItem Header="Files" Background="LightGray">
                <local:AdditionalFiles x:Name="TabAdditionalFiles"/>
            </TabItem>
            <TabItem Header="Registry" Background="LightGray">
                <local:RegistryImports x:Name="TabRegistryImports"/>
            </TabItem>
            <TabItem Header="Feature" Background="LightGray">
                <local:GenerateFeature x:Name="TabGenerateFeature"/>
            </TabItem>
            <TabItem Header="Schema" Background="LightGray">
                <local:TableSchema x:Name="TabTableSchema" />
            </TabItem>
        </TabControl>
        <DockPanel Grid.Row="2" LastChildFill="True">
            <ProgressBar Name="Progress" Foreground="#FF065BB0" DockPanel.Dock="Right" Width="100" Margin="5" Visibility="Visible"/>
            <TextBlock Name="Status" Margin="5,0"/>
        </DockPanel>
    </Grid>
</Window>
